Phase value outside of (-180, 180) gets set to zero

Tech Note: TN0051
Product: RPvdsEx
Version: All
Date Added: 2002-10-09

Issue

All of the Waveform Generator components (Tone, RampTooth, and SawTooth) ensure that the bounds on the phase parameter are greater than -180 and less than +180. Any value (including exactly -180 or +180) outside of these bounds will be set to a phase of zero.

Workaround

Always use a phase value in the range (-180, 180). If a phase of exactly 180 is needed, use 179.999 instead. For users that are trying to alternate between opposite phases, this can be done using a ScaleAdd component to flip the sign of the waveform.